﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" Inherits="Pay"
    CodeBehind="Pay.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <section id="content-container" class="clearfix">
        <div id="main-wrap" class="clearfix">
            <h4>
                请核对订单并记下您的订单号</h4>
            <br />
            <br />
            <p>
                订单号：
                <%= this.OrderNo %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;付款金额：<%= this.Price.ToString("C") %></p>
            <% if (this.OrderDetailList != null && this.OrderDetailList.Count > 0)
               {%>
            <% foreach (RenChangYou.Model.DY_OrderDetail detail in this.OrderDetailList)
               {
                   RenChangYou.Model.DY_User daoyou = this.GetUser(detail.GuideUserName);
            %>
            <p>
                导游：<%= daoyou.FullName %></p>
            <p>
                出行日期：<%= detail.StartDate.Value.ToString("yyyy年MM月dd日") %>
                <%= detail.EndDate.Value.ToString("yyyy年MM月dd日") %></p>
            <p>出发：<%= detail.DCity %>, 目的地：<%= detail.ACity %>，出行人数：<%= detail.PersonNumber %></p>
            <p>备注：<%= detail.Remark %></p>
            <%} %>
            <%} %>
            <br />
            <asp:Button ID="BtnAlipay" CssClass="submit tt-form-submit" Text="确认支付" runat="server"
                OnClick="BtnAlipay_Click" />
        </div>
        <!-- END main-wrap -->
    </section>
</asp:Content>
